﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="XemThongTin.aspx.cs" Inherits="LotteCinema.Admin.XemThongTin" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Import Namespace="LotteCinema.DTO" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style
        {
            width: 100%;
            border: 1px solid #FF6600;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="title" style="font-size:14pt;">THÔNG TIN TÀI KHOẢN CỦA BẠN</div>
    <asp:Panel ID="pnthongtin" runat="server">
        <table class="style">
            <tr>
                <td>
                    <div style="width:100px;"></div></td>
                <td align="center">
                    <div  style="font-size:15px;" class="style"> 
                        <label>Họ Tên: </label>
                    </div>
                    
                </td>
                <td>
                    <div style="font-size:15px;" class="style"> 
                        &nbsp&nbsp&nbsp&nbsp<asp:Label ID="lbhoten" runat="server" Text=""></asp:Label>
                    </div>
                </td>
                <td>
                    <div style="width:100px;"></td>
            </tr>
            <tr>
                <td>
                    <div style="width:100px;"></td>
                <td align="center">
                    <div style="font-size:15px;" class="style"> 
                        <label >CMND:  </label>
                    </div>
                </td>
                <td>
                    <div class="style" style="font-size:15px;">
                    &nbsp&nbsp&nbsp&nbsp<asp:Label ID="lbcmnd" runat="server" Text="    "></asp:Label>
                    </div>
                </td>
                <td>
                    <div style="width:100px;"></td>
            </tr>
            <tr>
                <td>
                    <div style="width:100px;"></td>
                <td align="center">
                    <div class="style" style="font-size:15px;">
                    <label>Ngày Sinh:  </label>
                    </div>
                </td>
                <td>
                    <div class="style" style="font-size:15px;">
                    &nbsp&nbsp&nbsp&nbsp<asp:Label ID="lbngaysinh" runat="server" Text="   "></asp:Label>
                    </div>
                </td>
                <td>
                    <div style="width:100px;"></td>
            </tr>
            <tr>
                <td>
                    <div style="width:100px;"></td>
                <td align="center">
                    <div class="style" style="font-size:15px;">
                    <label>Giới Tính:  </label>
                    </div>
                </td>
                <td>
                    <div class="style" style="font-size:15px;">
                    &nbsp&nbsp&nbsp&nbsp<asp:Label ID="lbgioitinh" runat="server" Text=""></asp:Label>
                    </div>
                </td>
                <td>
                    <div style="width:100px;"></td>
            </tr>
            <tr>
                <td>
                    <div style="width:100px;"></td>
                <td align="center">
                    <div class="style" style="font-size:15px;">
                    <label>Địa Chỉ:  </label>
                    </div>
                </td>
                <td>
                    <div class="style" style="font-size:15px;">
                   &nbsp&nbsp&nbsp&nbsp<asp:Label ID="lbdiachi" runat="server" Text="  "></asp:Label>
                    </div>
                </td>
                <td>
                    <div style="width:100px;"></td>
            </tr>
            <tr>
                <td>
                    <div style="width:100px;"></td>
                <td align="center">
                    <div class="style" style="font-size:15px;">
                    <label>Điện Thoại:  </label>
                    </div>
                </td>
                <td>
                    <div class="style" style="font-size:15px;">
                     &nbsp&nbsp&nbsp&nbsp<asp:Label ID="lbdienthoai" runat="server" Text="   "></asp:Label>
                    </div>
                </td>
                <td>
                    <div style="width:100px;"></td>
            </tr>
             <tr>
                <td>
                    <div style="width:100px;"></td>
                <td align="center" style="width:100px;">
                    <div class="style" style="font-size:15px;">
                    <label>Chức Vụ:  </label>
                    </div>
                </td>
                <td>
                    <div class="style" style="font-size:15px;">
                     &nbsp&nbsp&nbsp&nbsp<asp:Label ID="lbchucvu" runat="server" Text="   "></asp:Label>
                    </div>
                </td>
                <td>
                    <div style="width:100px;"></td>
            </tr>
            <tr>
                <td style="width:250px;"><div></div></td>
                <td align="right">
                    <div style="font-size:15px;">
                        
                    </div>
                </td>
                <td>
                    <div  style="font-size:15px;">
                     &nbsp&nbsp&nbsp &nbsp&nbsp&nbsp &nbsp&nbsp&nbsp
                    <asp:LinkButton ID="lblThayDoiThongTin" runat="server" CssClass="btnthem" 
                            Font-Size="14px" onclick="lblThayDoiThongTin_Click" 
                             ><b>THAY ĐỔI THÔNG TIN</b></asp:LinkButton>
                             &nbsp&nbsp&nbsp
                     </div>
                </td>
                
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pncapnhat" runat="server">
        <table id="table2" style="border-collapse:collapse" cellpadding="0" width="100%" border="0" >
               <tr>
                    <td width="350" />
                    <td width="150" class="name_fild_row">
                        <asp:Label ID="Label4" Text="Họ Tên" runat="server" />
                     <div>&nbsp;</div>
                    </td>
                    <td>
                             <asp:TextBox ID="txthoten" runat="server" />
                             <asp:RequiredFieldValidator ID="rfvtxthoten" runat="server" 
                                 ControlToValidate="txthoten" ErrorMessage="Họ tên không được bỏ trống" 
                                 ForeColor="Red" SetFocusOnError="True">(*)</asp:RequiredFieldValidator>
                         <div>
                             &nbsp;
                         </div>
                    </td>
                </tr> 
                   <tr>
                    <td width="350" />
                    <td width="150" class="name_fild_row">
                        <asp:Label ID="Label6" Text="CMND" runat="server" />
                     <div>&nbsp;</div>
                    </td>
                    <td>
                             <asp:TextBox ID="txtcmnd" runat="server" />
                             <asp:RequiredFieldValidator ID="rfvtxtcmnd" runat="server" 
                                 ControlToValidate="txtcmnd" ErrorMessage="CMND không được bỏ trống" 
                                 ForeColor="Red" SetFocusOnError="True">(*)</asp:RequiredFieldValidator>
                         <div>
                             &nbsp;
                         </div>
                    </td>
                </tr>  
                 <tr>
                    <td width="350" />
                    <td class="name_fild_row" width="150">
                        <asp:Label ID="Label11" runat="server" Text="Ngày Sinh" />
                        <div>
                            &nbsp;</div>
                    </td>
                    <td>
                        <asp:TextBox ID="txtngaysinh" runat="server"></asp:TextBox>
                        <asp:CalendarExtender ID="CalendarExtender2" DefaultView="Years" runat="server" Enabled="true" TargetControlID="txtngaysinh" Format="dd/MM/yyyy">
                        </asp:CalendarExtender>
                        <asp:RequiredFieldValidator ID="rfvtxtngaysinh" runat="server" 
                            ControlToValidate="txtngaysinh" 
                            ErrorMessage="Ngày sinh không được bỏ trống" ForeColor="Red" 
                            SetFocusOnError="True">(*)</asp:RequiredFieldValidator>
                        <div>
                            &nbsp;
                        </div>
                    </td>
                </tr>       
            <tr>
                <td width="350" />
                <td width="150" class="name_fild_row">
                    <asp:Label ID="lblgioitinh" Text="Giới Tính" runat="server" />
                    <div>&nbsp;</div>
                </td>
                <td>
                    <asp:DropDownList ID="ddlgioitinh" runat="server">
                    </asp:DropDownList>
                    <div>
                        &nbsp;
                    </div>
                </td>
            </tr>
            <caption>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
                <tr>
                    <td width="350" />
                    <td width="150" class="name_fild_row">
                        <asp:Label ID="Label8" Text="Địa Chỉ" runat="server" />
                     <div>&nbsp;</div>
                    </td>
                    <td>
                             <asp:TextBox ID="txtdiachi" runat="server" />
                             <asp:RequiredFieldValidator ID="rfvtxtdiachi" runat="server" 
                                 ControlToValidate="txtdiachi" ErrorMessage="Địa chỉ không được bỏ trống" 
                                 ForeColor="Red" SetFocusOnError="True">(*)</asp:RequiredFieldValidator>
                         <div>
                             &nbsp;
                         </div>
                    </td>
                </tr>
                <tr>
                    <td width="350" />
                    <td class="name_fild_row" width="150">
                        <asp:Label ID="Label2" runat="server" Text="Điện Thoại" />
                        <div>
                            &nbsp;</div>
                    </td>
                    <td>
                        <asp:TextBox ID="txtdienthoai" runat="server" />
                        <asp:RequiredFieldValidator ID="rfvtxtdienthoai" runat="server" 
                        ControlToValidate="txtdienthoai" ErrorMessage="Điện thoại không được bỏ trống" 
                        ForeColor="Red" SetFocusOnError="True" Display="Dynamic" type="Integer">(*)</asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="revtxtdienthoai" runat="server" 
                            ControlToValidate="txtdienthoai" ErrorMessage="Số điện thoại không hợp lệ" 
                            ForeColor="Red" SetFocusOnError="True" 
                            
                            ValidationExpression="[0-9][1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]|[0-9][1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]" 
                            ValidationGroup="ktnhanvien">(*)</asp:RegularExpressionValidator>
                        <div>
                            &nbsp;
                        </div>
                    </td>
                </tr>
               
        
                <tr>
                    <td width="350" />
                    <td class="name_fild_row" width="150">
                    </td>
                    <td>
                        <asp:LinkButton ID="lblCapNhat" runat="server" CssClass="btnthem" 
                            Font-Size="14px" onclick="lblCapNhat_Click" 
                             ><b>CẬP NHẬT</b></asp:LinkButton>
                        &nbsp&nbsp&nbsp&nbsp
                        <asp:LinkButton ID="lblQuayLai" runat="server" CssClass="back" 
                            Font-Size="14px" CausesValidation="False" onclick="lblQuayLai_Click" ><b>QUAY LẠI</b></asp:LinkButton>
                    </td>
                </tr>
            </caption>
      </table>
    </asp:Panel>
</asp:Content>

